[Unit]
Description=Apache ActiveMQ Message Queue
After=network.target

[Service]
PIDFile=/opt/activemq/data/activemq.pid
ExecStart=/opt/activemq/bin/activemq start
ExecStop=/opt/activemq/bin/activemq stop
User=activemq
Group=activemq

[Install]
WantedBy=multi-user.target